<script>
	let open = $state(true);
</script>

<details bind:open>
	 <summary>Details</summary>
	 ...
</details>
